<%@page import="helpers.UrlHelper"%>
<%
//Set seo content
String title = "Unminify Js Tool";
String description = "Unminify JavaScript (JavaScript beautifier). Use this online tool to unminify (deobfuscate) minified or obfuscated JavaScript code.";
String url = UrlHelper.getServerUrl(request) + "/tool/unminify-js";
%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<jsp:include page="/layouts/header.jsp">
	<jsp:param name="title" value="<%=title %>" />
    <jsp:param name="description" value="<%=description %>" />
    <jsp:param name="ogtitle" value="<%=title %>" />
    <jsp:param name="ogurl" value="<%=url %>" />
    <jsp:param name="ogdescription" value="<%=description%>" />
</jsp:include>

<link rel="stylesheet" type="text/css" href="/css/codemirror.css" />
<link rel="stylesheet" type="text/css" href="/css/unminify_js.css" />
<script src="/js/unminify/codemirror.js"></script>
<script src="/js/unminify/javascript.js"></script>
<script src="/js/jquery.cookie.js"></script>
<script src="/js/unminify/beautify.js"></script>
<script src="/js/unminify/beautify-css.js"></script>
<script src="/js/unminify/beautify-html.js"></script>
<script src="/js/unminify/sanitytest.js"></script>
<script src="/js/unminify/beautify-tests.js"></script>
<script src="/js/unminify/javascriptobfuscator_unpacker.js"></script>
<script src="/js/unminify/urlencode_unpacker.js"></script>
<script src="/js/unminify/p_a_c_k_e_r_unpacker.js"></script>
<script src="/js/unminify/myobfuscate_unpacker.js"></script>

<script src="/js/unminify_js.js"></script>



			<div class="row-fluid">
            
            	<!-- tool detail
        		================================================== -->
            	<div class="span8">
                	<h3 class="toolName">Unminify Js Tool</h3>
                    <p class="toolDesc">Unminify JavaScript (JavaScript beautifier). Use this online tool to unminify (deobfuscate) minified or obfuscated JavaScript code.</p>
	

					<form class="form-inline">
				    <table  class="table table-striped table-bordered table-condensed tool-result-table">
				        <tr>
				          <td>
				          <select name="tabsize" id="tabsize">
				            <option value="1">indent with a tab character</option>
				            <option value="2">indent with 2 spaces</option>
				            <option value="3">indent with 3 spaces</option>
				            <option value="4">indent with 4 spaces</option>
				            <option value="8">indent with 8 spaces</option>
				          </select>
				          <br /><br />
				
				          <select id="brace-style">
				            <option value="collapse">Braces with control statement</option>
				            <option value="expand">Braces on own line</option>
				            <option value="end-expand">End braces on own line</option>
				            <!-- option value="expand-strict">Braces always on own line (not recommended)</option -->
				          </select>
						  <br /><br />
				          <p style="margin:6px 0 0 0">HTML &lt;style&gt;, &lt;script&gt; formatting:</p><select id="indent-scripts">
				            <option value="keep">Keep indent level of the tag</option>
				            <option value="normal">Add one indent level</option>
				            <option value="separate">Separate indentation</option>
				          </select>
				
				        </td><td>
				
				          <input class="checkbox" type="checkbox" id="preserve-newlines"> <label for="preserve-newlines"> Preserve empty lines?</label><br>
				          <input class="checkbox" type="checkbox" id="detect-packers"> <label for="detect-packers"> Detect packers and obfuscators?</label><br>
				          <input class="checkbox" type="checkbox" id="keep-array-indentation"> <label for="keep-array-indentation"> Keep array indentation?</label><br>
				          <input class="checkbox" type="checkbox" id="break-chained-methods"> <label for="break-chained-methods"> Break lines on chained methods?</label><br>
				          <input class="checkbox" type="checkbox" id="space-before-conditional"> <label for="space-before-conditional"> Space before conditional: "if(x)" / "if (x)"</label><br>
				          <input class="checkbox" type="checkbox" id="unescape-strings"> <label for="unescape-strings"> Unescape printable chars encoded as \xNN or \uNNNN?</label>
				          <br><a href="?without-codemirror" class="turn-off-codemirror"> Use a simple textarea for code input?</a>
				
				
				        </td></tr>
				    </table>
					</form>
				    <div id="about">
						<br/><br/>
				    </div>
				    <button id="submit"><strong>Beautify JavaScript or HTML</strong> <em>(ctrl-enter)</em></button>
				    <textarea id="source" rows="30" cols="160"></textarea>
				
				    <div id="testresults"></div>
				</div>                
                
                <jsp:include page="/elements/right.jsp" />
                
            </div>


<jsp:include page="/layouts/footer.jsp" />